home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 5817 / 5817.xpi / chrome / content / createindex.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  2KB  |  73 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <!DOCTYPE window SYSTEM "chrome://sqlitemanager/locale/sqlitemanager.dtd">
  4.  
  5. <dialog id="createindex" title="&window.title; - &createIndex;"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         buttons="accept,cancel"
  8.         ondialogaccept="return CreateManager.doOKCreateIndex();"
  9.         ondialogcancel="return CreateManager.doCancel();"
  10.         onload="CreateManager.loadCreateIndexDialog();"
  11.         flex="1">
  12.  
  13.   <script type="application/x-javascript" src="createManager.js"/>  
  14.   <script type="application/x-javascript" src="globals.js"/>  
  15.  
  16.   <hbox flex="1" style="margin:5px 0 5px 0;">
  17.     <spacer flex="1"/>
  18.     <label style="padding-top:3px" 
  19.         accesskey="D"
  20.         control="dbName" 
  21.         value="&createIndex.dbName;"/>
  22.     <menulist id="dbName"
  23.       oncommand="CreateManager.selectDb('dbName')"/>
  24.     <label style="padding-top:3px" 
  25.         accesskey="N"
  26.         control="indexname" 
  27.         value="&createIndex.indexname;"/>
  28.     <textbox id="indexname"/>
  29.     <spacer flex="1"/>
  30.   </hbox>
  31.   <groupbox flex="1">
  32.   <caption label="&createIndex.indexproperties;"/>
  33.  
  34.   <hbox flex="1" style="margin:4px 3px 4px 3px;" align="right">
  35.     <label style="padding-top:5px" 
  36.         accesskey="T"
  37.         control="tabletoindex" 
  38.         value="&createIndex.tabletoindex;"/>
  39.      <menulist id="tabletoindex" 
  40.          style="width: 25ex" 
  41.          sizetopopup="always" 
  42.          oncommand="CreateManager.selectTable('tabletoindex')"
  43.          value="">
  44.       <menupopup>
  45.         <menuitem label="&createIndex.loading;" selected="true"/>
  46.       </menupopup>
  47.     </menulist>
  48.   </hbox>
  49.  
  50.   <hbox flex="1" style="margin:4px 3px 4px 3px" align="right">
  51.     <label style="padding-top:5px" 
  52.         accesskey="d"
  53.         control="duplicatevalues" 
  54.         value="&createIndex.duplicatevalues;"/>
  55.      <menulist id="duplicatevalues" 
  56.          style="width: 25ex" 
  57.          sizetopopup="always"
  58.          value="">
  59.       <menupopup>
  60.         <menuitem label="&createIndex.allowed;" value="" selected="true"/>
  61.         <menuitem label="&createIndex.notallowed;" value="UNIQUE"/>
  62.       </menupopup>
  63.     </menulist>
  64.   </hbox>
  65.   </groupbox>
  66.   
  67.   <groupbox>
  68.     <caption label="&createIndex.indexcolumns;"/>
  69.     <vbox id="definecolumns" flex="1" style="overflow-y:auto" height="200"/>
  70.   </groupbox>
  71.   
  72. </dialog>
  73.